package com.yrihr.wisdom.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yrihr.wisdom.entity.River;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName : RiverMapper
 * @Description :
 * @Author : wind
 * @Date: 2020-12-17 15:00
 * @Version 1.0
 */
public interface RiverMapper extends BaseMapper<River> {

    Integer insertRiver(List<River> list);

    Long selectSiteId(@Param(Constants.WRAPPER) Wrapper<River> wrapper);

    Page<River> selectMyPage(Page<River> page ,@Param(Constants.WRAPPER) Wrapper<River> wrapper);

    List<River> selectRiverDownload(@Param(Constants.WRAPPER) Wrapper<River> wrapper);
}
